package com.hmall.mapper;

import com.hmall.model.MallBanner;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;


import java.util.List;
@Repository
public interface MallBannerMapper extends MyMapper<MallBanner> {
    List<MallBanner> selectList();

    List<MallBanner> listPCBanner();

    List<MallBanner> listByType(@Param("banner_type") String banner_type);

    List<MallBanner> selectListByName(@Param("query") String query);
}